Next Set ID
This script reads the next Set ID from the TopShot contract and returns that number to the caller.
Returns: UInt32
- Value of nextSetID field in TopShot contract
import TopShot from 0xTOPSHOTADDRESS
pub fun main(): UInt32 {
return TopShot.nextSetID
}